//系统管理
const systemManagement = {
  path: '/system-management',
  component: 'Layout',
  redirect: '/system-user',
  name: 'SystemManagement',
  meta: {
    title: '系统管理',
    icon: 'nested'
  },
  children: [
    {
      path: '/system-user',
      component: '/system-management/system-user',
      redirect: '/system-user-management',
      name: 'SystemUser',
      meta: { title: '平台用户管理', icon: 'nested' },
      children: [
        {
          path: '/system-user-management',
          component: '/system-management/system-user/system-user-management',
          name: 'SystemUserManagement',
          meta: { title: '用户管理', barFlag: true },
        },
        {
          path: '/role-management',
          component: '/system-management/system-user/role-management',
          name: 'RoleManagement',
          meta: { title: '角色管理', barFlag: true },
        },
        // {
        //   path: '/authority-management',
        //   component: '/system-management/system-user/authority-management',
        //   name: 'AuthorityManagement',
        //   meta: { title: '权限管理', barFlag: true },
        // }
      ]
    },
    {
      path: 'specialist-user',
      component: '/system-management/specialist-user',
      redirect: '/specialist-user-management',
      name: 'SpecialistUser',
      meta: { title: '专家用户管理', icon: 'nested' },
      children: [
        {
          path: '/specialist-user-management',
          component: '/system-management/specialist-user/specialist-user-management',
          name: 'SpecialistUserManagement',
          meta: { title: '专家管理', barFlag: true },
        },
      ]
    },
    {
      path: 'seller-user',
      component: '/system-management/seller-user',
      redirect: '/seller-user-management',
      name: 'SellerUser',
      meta: { title: '社会化服务用户管理', icon: 'nested' },
      children: [
        {
          path: '/seller-user-management',
          component: '/system-management/seller-user/seller-user-management',
          name: 'SellerUserManagement',
          meta: { title: '客户管理', barFlag: true },
        },
      ]
    }
  ]
}
export default systemManagement